.course-detail-container {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
  background-color: #f8f9fa;
}

/* 课程头部样式 */
.course-header {
  margin-bottom: 32px;
  padding: 40px;
  background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
  border-radius: 20px;
  color: white;
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.2);
  position: relative;
  overflow: hidden;
}

.course-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.1;
}

.course-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 32px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  font-size: 16px;
  position: relative;
}

.course-meta .anticon {
  margin-right: 8px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.course-description {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: 16px;
  position: relative;
  max-width: 800px;
}

/* 课程内容区域 */
.course-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.course-main {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.course-main:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.course-sidebar {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.course-sidebar:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* 课程封面样式 */
.course-cover {
  position: relative;
  width: 100%;
  height: 450px;
  margin-bottom: 32px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.course-cover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.course-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-cover:hover img {
  transform: scale(1.05);
}

.course-cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.course-cover-overlay:hover {
  background: rgba(0, 0, 0, 0.6);
}

.course-cover-overlay .anticon {
  font-size: 72px;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.course-cover-overlay:hover .anticon {
  transform: scale(1.1);
}

.course-cover-text {
  margin-top: 20px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 标签页样式 */
.ant-tabs {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ant-tabs-nav {
  margin-bottom: 32px;
}

.ant-tabs-tab {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.ant-tabs-tab.ant-tabs-tab-active {
  font-weight: 600;
  color: #1a73e8;
}

/* 学习进度部分 */
.learning-progress-section {
  margin-top: 32px;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.learning-progress-section h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 32px;
  color: #1a73e8;
}

.progress-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.progress-card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(26, 115, 232, 0.1);
}

.progress-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.15);
  border-color: rgba(26, 115, 232, 0.2);
}

.progress-card .ant-progress-circle {
  margin: 0 auto;
}

.progress-card .ant-statistic {
  text-align: center;
}

.progress-card .ant-statistic-title {
  color: #666;
  font-size: 16px;
  font-weight: 500;
}

.progress-card .ant-statistic-content {
  color: #1a73e8;
  font-size: 28px;
  font-weight: 600;
}

.chapter-progress-list {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(26, 115, 232, 0.1);
}

.chapter-progress-item {
  padding: 24px;
  border-bottom: 1px solid rgba(26, 115, 232, 0.1);
  transition: all 0.3s ease;
}

.chapter-progress-item:hover {
  background-color: #f8f9fa;
  transform: translateX(8px);
}

.chapter-progress-item:last-child {
  border-bottom: none;
}

.chapter-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.chapter-progress-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a73e8;
}

.chapter-progress-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.chapter-progress-bar {
  flex: 1;
}

.chapter-progress-bar .ant-progress-bg {
  background: linear-gradient(90deg, #1a73e8 0%, #0d47a1 100%);
  height: 8px !important;
  border-radius: 4px;
}

.chapter-progress-actions {
  display: flex;
  gap: 16px;
}

/* 报名卡片样式 */
.enroll-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(26, 115, 232, 0.1);
}

.enroll-price {
  font-size: 36px;
  color: #1a73e8;
  text-align: center;
  margin-bottom: 32px;
  font-weight: 700;
}

.enroll-button {
  height: 56px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  margin-bottom: 32px;
  background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
  border: none;
  transition: all 0.3s ease;
}

.enroll-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.3);
}

.course-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-features li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  color: #666;
  font-size: 16px;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.course-features li:hover {
  background: #f8f9fa;
  color: #1a73e8;
  transform: translateX(8px);
}

.course-features .anticon {
  color: #1a73e8;
  font-size: 20px;
}

/* 视频播放模态框样式 */
.video-modal .ant-modal-content {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.video-modal-title {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  color: #1a73e8;
}

/* 视频播放器容器样式 */
.video-player-container {
  margin-bottom: 32px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.video-player {
  width: 100%;
  height: 450px;
  background: #000;
}

.video-info {
  padding: 24px;
  background: #fff;
}

.video-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a73e8;
  margin-bottom: 16px;
}

.video-meta {
  display: flex;
  gap: 32px;
  color: #666;
}

.video-meta .anticon {
  color: #1a73e8;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.video-play-icon:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%) scale(1.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .course-detail-container {
    padding: 16px;
  }

  .course-header {
    padding: 24px;
    margin-bottom: 24px;
  }

  .course-header h1 {
    font-size: 28px;
  }

  .course-meta {
    flex-wrap: wrap;
    gap: 16px;
  }

  .course-content {
    grid-template-columns: 1fr;
  }

  .course-cover {
    height: 240px;
  }

  .progress-overview {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .chapter-progress-item {
    padding: 16px;
  }

  .chapter-progress-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .chapter-progress-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .chapter-progress-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .video-modal {
    width: 100% !important;
    margin: 0;
  }

  .video-player {
    height: 300px !important;
  }

  .video-meta {
    flex-direction: column;
    gap: 12px;
  }
}